<?php

declare(strict_types=1);

namespace App\CustHub\Request;

use Mine\MineFormRequest;

class SmsRequest extends MineFormRequest
{
    public function sendCodeRules(): array
    {
        return [
            'mobile' => 'required|mobile',
            'event' => 'required'
        ];
    }

    public function checkMobileRules(): array
    {
        return [
            'mobile' => 'required|mobile',
        ];
    }


    /**
     * 字段映射名称
     * return array
     */
    public function attributes(): array
    {
        return [
            'mobile' => '手机号',
        ];
    }
}